#ifndef player_h_
#define player_h_

#include <list>
#include <iostream>
#include "SDL/SDL.h"
#include "SDL/SDL_opengl.h"
#include "unit.h"
#include "globaldef.h"

using std::list;

class player
{
  public:
    player(); //Lets hope no one ever calls this
    player(int nmaxhp, int ndiff, int nlevel, int ncash);
    ~player();


    bool purchase(int amt);
    void grantMoney(int amt);

    //private:
    int maxhp;
    int curhp;
    int diff;
    int level;
    int cash;
    void reset();
    void damage(int dmg);
};


#endif
